package com.quanyan.ic.vendingMachine.model;

import java.io.Serializable;

/**
 * Created by jian.zhou on 2017/8/2.
 * 购物车清单
 */
public class ShoppingCartItem implements Serializable {

    private Integer id;             // 商品id
    private String uuid;            //商品唯一id
    private String name;            // 商品名称
    private Double price;           //售价
    private Integer qty;            //购买数量
    private Byte gridNumber;     //出货货道编号
    private String grid;

    private Integer inventory;     //货道库存
    private Image img;        //图片

    @Override
    public String toString() {
        return "ShoppingCartInfo{" +
                "id=" + id +
                ", uuid='" + uuid + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", qty=" + qty +
                ", gridNumber=" + gridNumber +
                ", grid='" + grid + '\'' +
                ", inventory=" + inventory +
                ", img=" + img +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public Byte getGridNumber() {
        return gridNumber;
    }

    public void setGridNumber(Byte gridNumber) {
        this.gridNumber = gridNumber;
    }

    public String getGrid() {
        return grid;
    }

    public void setGrid(String grid) {
        this.grid = grid;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Image getImg() {
        return img;
    }

    public void setImg(Image img) {
        this.img = img;
    }
}
